package com.xxl.job.admin.service;

import com.mybatisflex.core.service.IService;
import com.xxl.job.admin.core.model.XxlJobRegistry;

import java.util.Date;
import java.util.List;

public interface XxlJobRegistryService extends IService<XxlJobRegistry> {
    List<XxlJobRegistry> findAll(int deadTimeout, Date date);

    List<Integer> findDead(int deadTimeout, Date date);

    int registryUpdate(String registryGroup, String registryKey, String registryValue, Date date);

    void registrySave(String registryGroup, String registryKey, String registryValue, Date date);

    int registryDelete(String registryGroup, String registryKey, String registryValue);
}
